package demo1;

public class B extends A{
    public B(){
        System.out.println(super.c);
    }
    public static void main(String[] args) {
        A a=new A();
//        System.out.println(A.b);
        B b=new B();
        System.out.println(b.c);

    }
}
